package com.mallcloud.mall.product.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@ApiModel(value = "AppSpuSearchVO", description = "商品公共响应对象")
@Data
public class AppSpuSearchVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品id" )
    private Long spuId;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "卖点")
    private String sellingPoint;

    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "售价，整数方式保存")
    private BigDecimal priceFee;

    @ApiModelProperty(value = "市场价，整数方式保存")
    private BigDecimal marketPriceFee;

    @ApiModelProperty(value = "商品介绍主图")
    private String mainImgUrl;

    // 拓展字段
    @ApiModelProperty(value = "是否有库存" )
    private Integer stock;

    @ApiModelProperty(value = "销量" )
    private Integer saleNum;
}
